package com.niiwoo.civet.trade.constant.listener;

/**
 * 用户授信MQ
 * Created by dell on 2018/4/19.
 * Description：civet-app
 */
public class CreditMQConstant {

    public interface Exchange {
        String V515_CREDIT_AMOUNT_EXCHANGE = "v515_credit_amount_exchange";
    }

    public interface Queue {
        String V515_GET_CREDIT_AMOUNT = "v515_get_credit_amount";
    }

    public static String getRoutingKey(String exchange,String queue){
        return exchange + "." + queue;

    }
}
